home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 2
/
Apprentice-Release2.iso
/
Source Code
/
Think Class Libraries
/
File class library
/
sources
/
launch.c
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-11-30
|
393 b
|
31 lines
|
[
TEXT/KAHL
]
#ifdef _Launch
pascal void DoLaunch (StringPtr application, short code);
pascal void DoLaunch (StringPtr application, short code)
{
struct
{
StringPtr name;
short memoryCode;
char parameters[2];
long extensionLength;
short finderFlags;
long launchFlags;
} data;
data.name= application;
data.launchFlags= code;
asm
{
lea data, A0
Launch
}
}
#endif